package com.hksj.em.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hksj.em.query.AlarmInfoQuery;
import com.hksj.em.vo.AlarmPropertyVO;
import com.hksj.em.vo.AlarmRankCountVO;
import com.hksj.em.vo.AlarmRecordVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@Mapper
public interface AlarmInfoMapper {

    List<AlarmRecordVO> queryAlarmRecord(Page<AlarmRecordVO> page, @Param("query") AlarmInfoQuery query);

    List<AlarmRankCountVO> queryAlarmRankingList(@Param("query") AlarmInfoQuery query);

    List<AlarmPropertyVO> queryAlarmByProperty(@Param("query") AlarmInfoQuery query);

}
